package uk.ac.standrews.cs.cs2001.practical02.s110008568.impl;

import java.util.Date;

import uk.ac.standrews.cs.cs2001.practical02.interfaces.IBook;
import uk.ac.standrews.cs.cs2001.practical02.interfaces.IFactory;
import uk.ac.standrews.cs.cs2001.practical02.interfaces.ILibrary;

public class Factory implements IFactory {

    @Override
    public IBook makeBook(String title, String author, String isbn, Date year) {
        return new Book(title, author, isbn, year);
    }

    @Override
    public ILibrary makeLibrary() {
        return new Library();
    }

}
